package com.命令模式;

/**
 * @author Fang Ruichuan
 * @date 2022-12-26 13:09
 */

public class Test {
    public static void main(String[] args) {
        ConcreteCommand concreteCommand = new ConcreteCommand(new Receiver());
        Invoker invoker = new Invoker(concreteCommand);
        invoker.action();
    }
}
